package persistence.tools;

import java.io.Serializable;

import org.hibernate.HibernateException;
import org.hibernate.engine.SessionImplementor;
import org.hibernate.id.IdentifierGenerator;


public class PKGenerator implements IdentifierGenerator{

	public Serializable generate(SessionImplementor arg0, Object arg1) throws HibernateException {
		long currenttime=System.currentTimeMillis();
		return String.valueOf(currenttime);
	}

}
